updating oE file_exists

file_exists

include filesys.e 
namespace filesys 
public function file_exists(object name) 

checks to see if a file exists.

Parameters:
  1. name : filename to check existence of
Returns:

An integer, 1 on yes, 0 on no.

Example 1:
if file_exists("abc.e") then 
    puts(1, "abc.e exists already\n") 
end if 
Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu